import axios from 'axios'

export const getRepoCommits = (page: string | number = 1) => {
    const username = 'Yuluoioi'
    const repo = 'Mood-Blog_System'
    const access_token = '60977d93908395c673caaf422a21f758'
    const url = `https://gitee.com/api/v5/repos/${username}/${repo}/commits?access_token=${access_token}&page=${page}`
    return axios.get(url)
}